# Setup fzf
# ---------
export FZF_DEFAULT_COMMAND="fd --exclude={.git,.idea,.vscode,.sass-cache,node_modules,build} --exclude '*.[oa]' --type f --hidden --follow"
#export FZF_DEFAULT_OPTS="--height 60% --layout=reverse --preview '(highlight -O ansi {} || cat {}) 2> /dev/null | head -500'"

if [[ ! "$PATH" == */home/jin/.local/bin* ]]; then
  export PATH="${PATH:+${PATH}:}/home/jin/.local/bin"
fi

# Auto-completion
# ---------------
[[ $- == *i* ]] && source "/home/jin/.vim/fzf/shell/completion.bash" 2> /dev/null

# Key bindings
# ------------
source "/home/jin/.vim/fzf/shell/key-bindings.bash"

# end 

